package com.lsh.oms.core.proxy.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * Project Name: GoodsBaseSaleInfo
 * 北京链商电子商务有限公司
 * Auth: wangliutao
 * Date: 19/4/19
 * Package Name: com.lsh.oms.core.proxy.model
 * Description:
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class GoodsBaseSaleInfo {

    @JSONField(name = "item_id")
    private Integer itemId;


    @JSONField(name = "sale_price")
    private BigDecimal salePrice;

    /**
     * SKU码订单状态已经是物美以创建，请检验
     */
    @JSONField(name = "sku_id")
    private Long skuCode;

    /**
     * 销售售卖单位
     */
    @JSONField(name = "sale_unit")
    private BigDecimal saleUnit;


    @JSONField(name = "provider_id")
    private Integer providerId;

    @JSONField(name = "provider_type")
    private Integer providerType;

    /**
     * 供货SKU码
     */
    @JSONField(name = "code")
    private String supplySkuCode;

    @JSONField(name = "is_yun")
    private Integer isYun;
}
